home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / gus / sdkdigv7.zip / SDKV7N3.TXT < prev    next >
Text File  |  1993-12-08  |  4KB  |  125 lines

  1. Apparently-To: john.smith@gravis.com
  2.  
  3.  
  4. GUS Programmer's Digest     Wed, 8 Dec 93  3:56          Volume 7: Issue   3  
  5.  
  6. Today's Topics:
  7.                              Example Code
  8.                      Here's a good project . . .
  9.                          Pascal Sound Units?
  10.  
  11. Standard Info:
  12.     - Meta-info about the GUS can be found at the end of the Digest.
  13.     - Before you ask a question, please READ THE FAQ.
  14.  
  15. ----------------------------------------------------------------------
  16.  
  17. Date: Wed, 8 Dec 93 0:11:27 CST
  18. From: Jay Stelly <claris!jay%csccat.cs.com@apple.com>
  19. Subject: Re: Example Code
  20.  
  21. > From: jdimich@ajiant.dnet.dupont.com
  22. >    
  23. >    I am experiencing a small problem when it comes to compiling some Turbo C++
  24. > source code with the GUS SDK.  I am just a beginner C programmer, but am
  25. > picking up on the concept and all very quickly.  Here is just some test code
  26. > which won't even work:
  27. > #include <dos.h>
  28. > #include <conio.h>
  29. > #include <gf1proto.h>
  30. >  ..
  31. > void main(void)
  32. > {
  33. >  UltraOpen();
  34. >  getch();
  35. > }
  36. > include files (extern.h, ultraerr.h, osproto.h, etc..).  Everytime I try and
  37. > compile this very simple source code, I get an error message along the lines of
  38. > "_UltraOpen not defined in source test.c".  This is really frustrating as I
  39. > have included every single GUS include file possible, and have created a
  40. > project file to include the libraries ULTRA0LB.LIB and ULTRA1LB.LIB.  Am I
  41.  
  42. If you are compiling in C++, you need to be aware that ULTRA0LB.LIB and 
  43. ULTRA1LB.LIB are compiled as C libraries.  This could be your problem.  Try
  44. using :
  45.  
  46. extern "C" {
  47. #include <forte.h>
  48. #include <extern.h>
  49. #include <gf1proto.h>
  50. #include <ultraerr.h>
  51. };
  52.  
  53. in your source.  Otherwise there is a problem with your link.  Be sure that
  54. you are linking the GUS libraries.  Without any other info, that's all 
  55. the help I can give you as the code you've included should be OK.  Although 
  56. UltraOpen does have arguments: UltraOpen( ULTRA_CFG *, int )  I believe.
  57.  
  58. Jay Stelly
  59. jay@cs.com
  60.  
  61. ------------------------------
  62.  
  63. Date: Tue, 7 Dec 93 13:47:08 -0500
  64. From: hal wayne black <sylk@mik.uky.edu>
  65. Subject: Here's a good project . . .
  66.  
  67. Here's a good project for someone:
  68.    
  69.  
  70.    Do a hack job on Star Control II to get it to work without those messy  
  71. sounds that it makes when you have GUS with 1mb.  
  72.  
  73.  
  74.    I would do it, but Star Control 7 would be out before I figured out how to  
  75. do it - if at all. 
  76.  
  77.  
  78.          Hal
  79.  
  80. ------------------------------
  81.  
  82. Date: Tue, 7 Dec 1993 13:15:46 -0600 (CST)
  83. From: Josh Hildebrand <ren@ghostwheel.bga.com>
  84. Subject: Pascal Sound Units?
  85.  
  86. I just started writing a game, and as I get closer to the end of it, I have
  87. begun to think about sound support.  I KNOW I'll support the GUS, but I really
  88. don't have any idea how to code in Pascal for any sound card.  (Even the
  89. GUS.)  I could probably piece together some pascal source code from the GUS
  90. Pascal unit available, but it is really out dated and it doesn't really have
  91. what I need.  
  92.  
  93.   I am hoping that somebody (Joshua Jensen??) could tell me where or email me
  94. a Turbo Pascal unit or object file or source, etc.  I'd like it to support
  95. several popular sound cards, but any would be fine.  I run TP7.0, just incase
  96. it's a compiled unit.  How does one get ahold of Josh's new programming
  97. unit?  Masi, was it?  Can't remember the name.
  98. -- 
  99. ren@ghostwheel.bga.com
  100.  
  101. ------------------------------
  102.  
  103. End of GUS Programmer's Digest V7 #3
  104. ************************************
  105.  
  106. To post to tomorrow's digest:                    <gus-sdk@dsd.es.com>
  107. To (un)subscribe or get help:            <gus-sdk-request@dsd.es.com>
  108. To contact a human (last resort):          <gus-sdk-owner@dsd.es.com>
  109.  
  110. FTP sites:           archive.epas.utoronto.ca              /pub/pc/ultrasound
  111.                      wuarchive.wustl.edu            /systems/msdos/ultrasound
  112.                      archive.orst.edu                    /pub/packages/gravis
  113.                      theoris.rz.uni-konstanz.de                /pub/sound/gus
  114. FTP mail server:     mail-server@nike.rz.uni-konstanz.de
  115.  
  116. Hints:
  117.       - Get the FAQ from the FTP sites or the request server.
  118.       - Mail to <gus-sdk-request@dsd.es.com> for info about other GUS
  119.     related mailing lists (general use, musician's, etc.).
  120.  
  121.  
  122.